import Vue from 'vue'
import {
  Grid,
  GridItem,
  Cell,
  CellGroup,
  Divider,
  Search
} from 'vant'
import App from './App.vue'
import router from './routes/index'
import './routes/guard'
import store from './store/index'
import './assets/css/common.less'

Vue.use(Grid)
  .use(GridItem)
  .use(Cell)
  .use(CellGroup)
  .use(Divider)
  .use(Search)

Vue.config.productionTip = false

const Vm = new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')

export default Vm